<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<link rel="stylesheet" type="text/css" href="<%=basePath%>/navigation/css/main.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>/css/opennice_table.css">
        <!-- <div class="main-content"> -->
         
     <div id="main-content">
     
     <div id="left-col">
      <s:if test="listShops">
	                <div class="category-bar">
						<h3 class="category-bar-current">
						    打印店
						<span></span>
						</h3>
					</div>
					
			<table>
			  <tbody>
					<tr>
					<th width="10%">logo</th>
					<th width="30%">店名</th>
					<th width="10%">价格</th>
					<th width="20%">已打印数量</th>
					<th width="15%">状态</th>
					</tr>
			 
				  <s:if test="listShops">
				  <s:iterator value="listShops" id="shops" status="st">
					<tr>
					<td ><img width="64" height="64" alt="" src="<%=basePath%>/dmrc/logo/${shops.shopLogo}"></td>
					<td >${shops.shopShowName }</td>
					<td >0.01 元</td>
					<td >${shops.shopPrintoverSum }</td>
					<td ><input  type="radio" name="shop" />  </td>
					</tr>
				</s:iterator>
				</s:if>	
				</tbody>	
			</table>
           </s:if>
           </div><!-- left end -->
           
           
           <!-- 用于赚钱导航的 新发现推荐网站 -->
           <div id="right-col">
             <div class="car">
                <span class="ns_btn-big">
                 <h3>最近打印店商</h3>
                 </span>
                 <s:if test="listShops">
                  <ul class="carlist">
                   <s:if test="listShops">
                    <s:iterator value="listShops" id="shop2s" status="st">
                      <li>
						<div class="index-pic">
							<a class="nslog:58" href="#">
							 <img height="44px" width="44px" src="<%=basePath%>/dmrc/logo/${shop2s.shopLogo}" alt="">
							</a>
						</div>
						<div class="right">
						<p>
						<a class="nslog:58"  href="#">${shop2s.shopName }</a>
						</p>
						</div>
                      </li>
                    </s:iterator>
                    </s:if>
                  </ul>
                 </s:if>
              </div>
              
              
              
           </div> 
            
     </div>
      